/**
 * 线路信息值对象
 *
 * @export
 * @class Circuit
 */
export class Circuit {
  /**
   * Creates an instance of Circuit.
   * @param {number} circuitId 线路id
   * @param {string} circuitCode 线路编号
   * @param {string} circuitName 线路名称
   * @param {string} phaseIds 所属工期ids
   * @param {string} phaseNames 所属工期名称
   * @param {number} circuitLength 线路长度
   * @param {string} circuitColor 线路颜色值
   * @param {number} farmId 线路对应风场id
   * @param {number} circuitSeq 排序
   *
   * @memberof Circuit
   */
  constructor(
    public circuitId: number,
    public createdDate: string,
    public circuitName: string,
    public farmId: number,
    public phaseNames?: string,
    public circuitLength?: number,
    public circuitColor?: string,
    public circuitSeq?: number,
    public phaseIds?: string,
    public circuitCode?: string,
    public isChecked: boolean = false) {
    Object.defineProperty(this, 'isChecked', {enumerable: false});
  }

}
